<template>
    <view v-html="obj"></view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import consultation from '@/api/consultation';

const obj = ref([]);
// 获取数据
async function getList(){
    try {
        let result = await consultation.getList();
        if(result && result.status === 0){
            obj.value = result.data.data.content;
        }
    } catch (error) {
        console.log(error);
    }
}
onLoad(() => {
    getList();
})
</script>

<style scoped>

</style>